define(function  (require, exports, module) {
    require("../../../../database/registerData");
    function infoList() {
        var info = "";
        var infoTwo = "";
        var infoContent = Message.companyInfoList;
        for(var i = 0;i<infoContent.length;i++){
            var infoClass = JSON.stringify(infoContent[i].class);
            var infoId = JSON.stringify(infoContent[i].id);
            if(i<1){
                info += "<div class='input-cont'>" +
                    "<p class="+infoClass+">" +
                    "<a class='start-company'>"+infoContent[i].star+"</a>" +infoContent[i].message +
                    "</p>" +
                    "<div id="+infoId+"></div>" +
                    "</div>"
            }else{
                infoTwo += "<div class='input-cont'>" +
                    "<p class="+infoClass+">" +
                    "<a class='start-company'>"+infoContent[i].star+"</a>" +infoContent[i].message +
                    "</p>" +
                    "<div id="+infoId+"></div>" +
                    "</div>"
            }
        }
        $.template( "infoListTemplate", info );
        $.tmpl("infoListTemplate", info).appendTo("#companyInfoIdOne");

        $.template( "infoListTwoTemplate", infoTwo );
        $.tmpl("infoListTwoTemplate", infoTwo).appendTo("#companyInfoIdTwo");
        require("./info");//具体信息
        require("./selectInfo");//具体信息
        require("./selectInfoLast");//具体信息
        require("./companyImgs");//学校环境图

        // require("../judgefocus"); //判断
    }
    module.exports = infoList();
})